package demo.fori;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 大数据循环
 *
 * @author sun.ye
 * @since 2020-05-20 16:49
 */
public class ForMany {


    public static void main(String[] args) {
        List<HashMap<Integer, Integer> > result = new ArrayList<>();
        System.out.println(System.currentTimeMillis());
        for (int i = 0; i < 100000 ; i++) {
            for (int j = 0; j < 100000; j++) {
                System.out.println("i="+i+" ,j="+j);
               HashMap<Integer, Integer> amap = new HashMap<>();
               amap.put(i,j);
            }
        }
        System.out.println(System.currentTimeMillis());

    }
}